package chapter01.d06;
/**
 * 线程正常结束后，isAlive()返回False
 * @author kenneth
 *
 */
public class RunTask implements Runnable{
	 @Override
	    public void run() {
	        for (int idx = 1; idx <= 10; idx++) {
	            System.out.println("子线程：我还活着" + idx);
	            
	            try {
	                Thread.sleep(3000);
	            } catch (InterruptedException e) {
	                e.printStackTrace();
	            }
	        }
	    }
}
